Printing system and control method thereof

ABSTRACT

In a printing system capable of supplying a sheet of a job having undergone print processing by the printing unit of a printing apparatus to a post-processing unit capable of executing at least a specific type of post-processing among a plurality of types of post-processes, when the target job requires the specific type of post-processing, the printing apparatus is inhibited from executing print processing of the job without explicitly determining a sheet necessary for the print processing of the job by a user using a user interface unit. When the target job does not require the specific type of post-processing, the printing apparatus is permitted to execute print processing of the job without explicitly determining a sheet necessary for the print processing of the job by the user using the user interface unit.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a technique of controllingpost-processing after image formation.

2. Description of the Related Art

There has conventionally been known an image processing system whichperforms a variety of post-processes to sheets after image formation.For example, there is proposed a sheet folding unit which folds sheetsby Z-folding (accordion folding) or C-folding (letter folding) andoutputs them (Japanese Patent Laid-Open No. 2006-193288).

However, for example, the following proposal has not been made. In thissituation, even a measure capable of coping with problems and needswhich may arise in association with post-processing has not beenproposed. For example, it is proposed to change selection of sheetssubjected to image formation in accordance with the type ofpost-processing. For example, depending on the type of post-processing,the user may not obtain an output he wants, in a mode in which sheets ofa type corresponding to an image to be formed are automaticallyselected.

Assume that a specific type of post-processing called C-folding isperformed. Even if sheets of a type suitable for an image to be formedare selected, they may not be suited to C-folding. In this case, anoutput result the user does not want may be obtained. This problemarises when, for example, the user wants to execute a specific type ofpost-processing but print media having undergone the specific type ofpost-processing are different from those the user wants.

At present, there are neither proposals to solve such problems nor evenrequests on the market. A mechanism capable of coping with theabove-mentioned problems and needs has not been examined. There is notproposed a configuration which, when the target job requires a specifictype of post-processing such as C-folding, inhibits execution of printprocessing of the job without prompting the user to explicitlydetermine, via a user interface, sheets necessary for print processingof the job. Further, there is not proposed a configuration which, whenthe target job does not require a specific type of post-processing,permits execution of print processing of the job without prompting theuser to explicitly determine, via a user interface, sheets necessary forprint processing of the job.

SUMMARY OF THE INVENTION

The present invention allows realization of providing a mechanismcapable of solving the above-described problems.

According to one aspect of the present invention, the foregoing problemis solved by providing a printing system capable of supplying a sheet ofa job having undergone print processing by a printing unit of a printingapparatus to a post-processing unit capable of executing at least aspecific type of post-processing among a plurality of types ofpost-processes, the system comprising a control unit configured toinhibit the printing apparatus from executing print processing of atarget job without user operation for specifying a sheet necessary forthe print processing by a user by using a user interface unit if thetarget job requires the specific type of post-processing, the controlunit permitting the printing apparatus to execute print processing ofthe target job without the user operation if the target job does notrequire the specific type of post-processing.

According to another aspect of the present invention, the foregoingproblem is solved by providing a method of controlling a printing systemcapable of supplying a sheet of a job having undergone print processingby a printing unit of a printing apparatus to a post-processing unitcapable of executing at least a specific type of post-processing among aplurality of types of post-processes, the method comprising inhibitingthe printing apparatus from executing print processing of a target jobwithout user operation for specifying a sheet necessary for the printprocessing by a user by using a user interface unit if the target jobrequires the specific type of post-processing; and permitting theprinting apparatus to execute print processing of the target job withoutthe user operation if the target job does not require the specific typeof post-processing.

According to still another aspect of the present invention, theforegoing problem is solved by providing a storage medium storing acomputer program which causes a computer to execute a method forcontrolling a printing system capable of supplying a sheet of a jobhaving undergone print processing by a printing unit of a printingapparatus to a post-processing unit capable of executing at least aspecific type of post-processing among a plurality of types ofpost-processes, the method comprising inhibiting the printing apparatusfrom executing print processing of a target job without user operationfor specifying a sheet necessary for the print processing by a user byusing a user interface unit if the target job requires the specific typeof post-processing, and permitting the printing apparatus to executeprint processing of the target job without the user operation if thetarget job does not require the specific type of post-processing.

According to yet another aspect of the present invention, the foregoingproblem is solved by providing a printing system configured to cause aprinting unit to perform print processing, the system comprising adetermining unit configured to determine if a target job requires aspecific type of post-processing, the post-processing being performedfor a sheet on which the printing process is performed by the printingunit; and a control unit configured to control a user interface unit toenable a user operation for specifying a sheet necessary for the printprocessing of the target job, if it is determined that the target jobrequires the specific type of post-processing.

Further features of the present invention will be apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing an overall configuration according toan embodiment of the present invention;

FIG. 2 is a sectional view for explaining the mechanical structure of anapparatus according to the embodiment;

FIG. 3 is a block diagram for explaining the configuration of acontroller;

FIG. 4 is a view for explaining the arrangement of an operation unit;

FIG. 5 is a view for explaining the key input section of the operationunit;

FIG. 6 is a view for explaining a display control example on a touchpanel section at the start of processing;

FIG. 7 is a view for explaining a display control example on the touchpanel section when the finishing function is set;

FIG. 8 is a sectional view for explaining in detail C-folding by aC/Z-folding unit;

FIG. 9 is a sectional view for explaining in detail C-folding by theC/Z-folding unit;

FIG. 10 is a sectional view for explaining in detail Z-folding by theC/Z-folding unit;

FIG. 11 is a sectional view for explaining in detail Z-folding by theC/Z-folding unit;

FIG. 12 is a view for explaining C-folding;

FIG. 13 is a view for explaining Z-folding;

FIG. 14 is a view for explaining a display control example on the touchpanel section when special features are selected;

FIG. 15 is a view for explaining a display control example on the touchpanel section when mixed size originals are set;

FIG. 16 is a view for explaining a display control example on the touchpanel section when a print sheet is selected;

FIGS. 17A to 17H are views for explaining Z- and C-folding settingdisplay sequences;

FIG. 18 is a control flowchart of a print operation when Z-folding andC-folding are set and when neither Z-folding nor C-folding is set;

FIG. 19 is a control flowchart of a print operation when Z-folding isset; and

FIGS. 20A and 20B are control flowcharts of a print operation whenC-folding is set.

DESCRIPTION OF THE EMBODIMENTS

A preferred embodiment of the present invention will now be described indetail with reference to the drawings. It should be noted that therelative arrangement of the components, the numerical expressions andnumerical values set forth in these embodiments do not limit the scopeof the present invention unless it is specifically stated otherwise.

In this specification, the term “size” not only includes the area butalso includes the shape. Hence, “sizes are different” can be rewritteninto “shapes and/or areas are different”. In the following embodiment,“print sheet” is not limited to paper, and the present invention isapplicable to any foldable “sheet”. In this specification, “Z-folding”is a sheet folding style also called “accordion folding”, and“C-folding” is a sheet folding style also called “letter folding”. Thesefolding styles include a method of folding a sheet completely in threeat positions corresponding to ⅓ and ⅔ of the sheet width, and a methodof folding a sheet at two positions corresponding to ¼ and ½ of thesheet width to obtain a half size.

An image input/output system will be described as an embodiment of animage forming apparatus according to the present invention. FIG. 1 is ablock diagram showing the internal configuration of an imageinput/output system 100 and a peripheral arrangement to which the imageinput/output system 100 is applicable.

As shown in FIG. 1, the image input/output system 100 comprises areading section 200, printing section 300, controller 110, and operationunit 150.

The reading section 200 includes a document feeding unit 250 andscanning unit 210. The document feeding unit 250 feeds a document. Thescanning unit 210 scans an image on a document fed by the documentfeeding unit 250. Image data scanned by the scanning unit 210 is sent tothe controller 110.

The printing section 300 includes a feeding unit 360, print unit 310,and delivery unit 370. The feeding unit 360 comprises a plurality ofcassettes storing print sheets of different sizes, respectively. Thefeeding unit 360 feeds a print sheet from each cassette. The print unit310 electrophotographically prints an image on a print sheet, andfunctions as an image forming means for forming an image on a sheet. Theprint unit 310 receives image data via the controller 110 from thescanning unit 210 or a PC (host computer) 191 or 192 connected to a LAN190. The print unit 310 prints an image on a print sheet fed from thefeeding unit 360 based on the received image data. The delivery unit 370processes, for example, sorts or staples print sheets on which imagesare printed by the print unit 310, and then delivers the sheets.

The controller 110 is electrically connected to the reading section 200and printing section 300, and is connected to the PCs 191 and 192 and adigital copying apparatus 193 via the LAN 190. When the imageinput/output system 100 operates as a copying machine, the controller110 controls the reading section 200 to send image data of a readdocument to the printing section 300, and controls the printing section300 to form an image on a print sheet. When the image input/outputsystem 100 operates as a scanner, the controller 110 can also convertimage data read by the reading section 200 into code data, and transmitit to the PC 191 or 192 via the LAN 190. When the image input/outputsystem 100 operates as a printer, the controller 110 can also convertcode data received from the PC 191 or 192 via the LAN 190 into imagedata, and cause the printing section 300 to form an image on the basisof the image data.

The operation unit 150 has a variety of keys for inputting instructionsto the controller 110, and a liquid crystal display panel for displayingan interface window with the user. When the user operates any key, theoperation unit 150 generates a signal corresponding to the operated keyand sends it to the controller 110.

The hardware configurations of the reading section 200 and printingsection 300 will be explained with reference to FIG. 2. FIG. 2 is aschematic view showing the hardware configurations of the readingsection 200 and printing section 300.

The reading section 200 and printing section 300 are configured as shownin FIG. 2. The printing section 300 is connected to a deck unit 341, aC/Z-folding unit 800 serving as a sheet folding unit, and a finisher900. The C/Z-folding unit 800 and finisher 900 constitute the deliveryunit 370, and function as a post-processing means for performing aplurality of types of post-processes to sheets after image formation.

The image reader, print unit, C/Z-folding unit, and finisher will bedescribed.

<Reading Section>

The reading section 200 comprises the document feeding unit 250. Thedocument feeding unit 250 feeds document sheets one by one sequentiallyfrom the first sheet onto a platen glass 211. Every time the readingoperation of each document sheet ends, the document sheet is dischargedfrom the platen glass 211 onto a discharge tray 219. In the readingsection 200, after a document sheet is fed onto the platen glass 211, alamp 212 is turned on, and a scanning box 213 starts moving. As thescanning box 213 moves, the document sheet on the platen glass 211 isread and scanned. During read scanning, reflected light from thedocument sheet is guided to a CCD image sensor (to be referred to as aCCD hereinafter) 218 via mirrors 214, 215, and 216 and a lens 217. Theimage on the document sheet is formed on the image sensing plane of theCCD 218. The CCD 218 converts the image formed on the image sensingplane into an electrical signal, and sends the electrical signal asimage data to the controller 110.

<Printing Section>

The printing section 300 comprises a laser driver 321. The laser driver321 drives a laser emitting portion 322 based on image data sent fromthe controller 110. The laser emitting portion 322 emits a laser beamcorresponding to image data. The laser beam is reflected by a rotarypolygon mirror (not shown) and scans the surface of a photosensitivedrum 323. An electrostatic latent image corresponding to the emittedlaser beam is formed on the surface of the photosensitive drum 323. Theelectrostatic latent image on the photosensitive drum 323 is visualizedas a toner image with toner supplied from a developing unit 324. Insynchronism with the laser beam irradiation timing, a print sheet is fedbetween the photosensitive drum 323 and a transfer portion 325 via aconveyance path 331 from a cassette 311, 312, 313, or 314, a manual feedstage 315, or the deck unit 341. The toner image on the photosensitivedrum 323 is transferred onto the fed print sheet at the transfer portion325.

The print sheet bearing the toner image is sent to a fixing portion 327by a conveyance belt 326. The fixing portion 327 thermally presses theprint sheet to fix the toner image on the print sheet onto it. The printsheet having passed through the fixing portion 327 is sent from adelivery port 334 into the C/Z-folding unit 800 via a conveyance path335. As the delivery unit 370 for print sheets, a delivery bin can alsobe attached outside the delivery port 334, instead of the C/Z-foldingunit 800 and finisher 900. Print sheets can be discharged to thedelivery bin. To send a print sheet to the C/Z-folding unit afterreversing the print surface, the print sheet is temporarily guided froma conveyance path 336 to a conveyance path 338 via a flapper 329, andthen sent from the delivery port 334 to the C/Z-folding unit via aconveyance path 337. When the two-sided printing mode is set, a printsheet having passed through the fixing portion 327 is guided to theconveyance path 336, temporarily guided to a conveyance path 333 via theflapper 329, and then guided to a conveyance path 332 via the conveyancepath 338. The print sheet guided to the conveyance path 332 is fed againbetween the photosensitive drum 323 and the transfer portion 325, and atoner image is transferred onto the unprinted surface of the printsheet.

<C/Z-folding Unit>

The C/Z-folding unit 800 includes an inserter unit 810, C/Z-folding unit820, and C-folded sheet delivery port 804. The inserter unit 810 feeds aprinted sheet and inserts it into a desired position between printsheets output from the print unit 310.

The inserter unit 810 feeds a sheet set on an inserter feeding stage 811into a conveyance path 812. A flapper 813 sends a print sheet on theconveyance path 812 to conveyance paths 815 and 819, and guides it to aconveyance path 802. Also, the flapper 813 sends a sheet fed from theinserter feeding stage 811 to conveyance paths 814 and 816. Then, thesheet is reversely fed. After the sheet set on the inserter feedingstage 811 is reversed (turned over), it can be sent to the conveyancepath 819.

The C/Z-folding unit 820 can execute the following three types ofprocesses to a sheet fed from the inserter unit and a sheet sent fromthe print unit:

1. Pass-Through Mode, 2. C-Folding Mode, and 3. Z-Folding Mode.

In the “pass-through mode” out of these modes, a sheet is sent to asubsequent unit without C- or Z-folding the sheet. A sheet having passedthrough the conveyance path 802 is sent to the finisher 900 via aconveyance path 803.

The “C-folding mode” and “Z-folding mode” by the C/Z-folding unit 820will be explained with reference to FIGS. 8 to 13. FIGS. 8 to 11 aresectional views showing the C/Z-folding unit 820 in detail. FIG. 12shows procedures to fold a sheet 840 in the C-folding mode. Similarly,FIG. 13 shows procedures to fold a sheet 850 in the Z-folding mode.

In the “C-folding mode”, the sheet 840 conveyed to the C/Z-folding unit820 via the conveyance path 802 is folded by a folding style called“C-folding”, and discharged to the C-folded sheet delivery port 804. Ifthe user designates the “C-folding mode” on the operation unit 150, aflapper 821 operates to guide the sheet 840 from the conveyance path 802to a conveyance path 822, as shown in FIG. 8. When the leading end ofthe sheet 840 hits a stopper 823, a formed loop 841 of the sheet 840 isnipped between folding rollers 824 and 825.

Then, the sheet 840 (print sheet size of X×Y) shown in 12 a of FIG. 12is folded once at a position 1201, as shown in 12 b of FIG. 12. Thestopper 823 is arranged at a position where the distance from the nipbecomes ⅔ of the sheet 840 in the Y direction.

The sheet 840 folded once is guided to a conveyance path 826. When thesheet 840 hits a stopper 827, a formed loop 842 of the sheet 840 isnipped between the folding roller 825 and a folding roller 828 (FIG. 9).

The sheet 840 in 12 b of FIG. 12 is folded again, and as a result,folded twice as shown in 12 c of FIG. 12. The stopper 827 is arranged ata position where the distance from the nip between the rollers 825 and828 becomes ⅓ of the sheet 840. The sheet 840 folded twice passesthrough a conveyance path 831 via a flapper 829, and is delivered to theC-folded sheet delivery port 804.

In the “Z-folding mode”, a sheet conveyed via the conveyance path 802 isfolded by a folding style called “Z-folding”, and returned to theconveyance path 802. If the user designates the “Z-folding mode” on theoperation unit 150, the flapper 821 operates to guide the sheet 850 fromthe conveyance path 802 to the conveyance path 822, as shown in FIG. 10.When the leading end of the sheet 850 hits the stopper 823, a formedloop 851 of the sheet 850 is nipped between the folding rollers 824 and825.

Then, the sheet 850 (print sheet size of X×Y) shown in 13 a of FIG. 13is folded once at a position 1301, as shown in 13 b of FIG. 13. Thestopper 823 is arranged at a position where the distance from the nipbecomes ¼ of the sheet 850 in the Y direction.

The sheet 850 folded once is guided to the conveyance path 826. When thesheet 850 hits the stopper 827, a formed loop 852 of the sheet 850 isnipped between the folding rollers 825 and 828 (FIG. 11).

The sheet 850 in 13 b of FIG. 13 is folded again at a position 1302, andas a result, folded twice as shown in 13 c of FIG. 13. At this time, thestopper 827 is arranged at a position where the length from the foldformed by the rollers 824 and 825 to the loop 852 becomes ¼ of the sheet850. The sheet 850 folded twice returns from a conveyance path 832 tothe conveyance path 802 via the flapper 829. After that, the sheet 850is sent to the finisher 900 via the conveyance path 803.

<Finisher>

Referring back to FIG. 2, the finisher 900 includes a sample tray 907,stack trays 911 and 912, and a booklet tray 921. The finisher 900 canperform processing such as stapling, sorting, offset, or bookbinding,and deliver processed sheets.

When outputting a sheet to the sample tray 907, a sheet coming into aconveyance path 901 is delivered to the sample tray 907 by flappers 902and 903 via a conveyance path 904.

When outputting a sheet to the stack tray 911 or 912, the followingoperation is done. A sheet coming into the conveyance path 901 is guidedto a conveyance path 905 by the flappers 902 and 903 and delivered tothe stack tray 911. The stack trays 911 and 912 are vertically movable.When outputting a sheet to the stack tray 912, the stack tray 912 movesup. When outputting sheets to the stack tray 911 or 912, for example,sheets can also be sorted, offset, or stapled by a stapler 909 via anintermediate tray 908.

When outputting sheets to the booklet tray 921, sheets coming into theconveyance path 901 are guided to a conveyance path 906 via the flappers902 and 903, and stay at an abutment portion 925. In saddle-stitching,sheets are saddle-stitched by a stapler 923 at the position of anintermediate tray 922. The saddle-stitched sheet bundle is moved to theabutment portion 925. A push member 926 and rollers 927 and 928 arearranged near the abutment portion 925. The push member 926 pushes outtoward the sheet bundle at the abutment portion 925. Then, the sheetbundle is pushed out between the rollers 927 and 928, and folded bythem. The sheet bundle is delivered to the booklet tray 921 via aconveyance path 929.

<Controller>

The functions of the controller 110 will be described with reference tothe block diagram of FIG. 3. A main controller 111 comprises a CPU(processor) 112, a bus controller 113, and a variety of I/F controllercircuits (not shown).

The CPU 112 and bus controller 113 control the operation of the wholecontroller 110. The CPU 112 operates based on a program loaded from aROM 114 via a ROM I/F 115. This program also describes an operation tointerpret PDL (Page Description Language) code data received from a hostcomputer and rasterize it into raster image data. This operation isprocessed by software. The bus controller 113 controls transfer of datainput/output from/to I/Fs, and performs arbitration of bus conflict andcontrol of DMA data transfer.

A DRAM 116 is connected to the main controller 111 via a DRAM I/F 117,and serves as a work area for the operation of the CPU 112 and an areafor accumulating image data.

A Codec 118 compresses raster image data accumulated in the DRAM 116 bya format such as MH/MR/MMR/JBIG/JPEG, and decompressescompressed/accumulated code data into raster image data. An SRAM 119serves as a temporary work area for the Codec 118. The Codec 118 isconnected to the main controller 111 via an I/F 120. The bus controller113 controls DMA transfer between the Codec 118 and the DRAM 116.

A graphic engine 135 performs image rotation, image scaling, color spaceconversion, and binarization to raster image data accumulated in theDRAM 116. An SRAM 136 serves as a temporary work area for the graphicengine 135. The graphic engine 135 is connected to the main controller111 via an I/F. The bus controller 113 controls DMA transfer between thegraphic engine 135 and the DRAM 116.

A network controller 121 is connected to the main controller 111 via anI/F 123, and to an external network via a connector 122. A generalexample of the network is Ethernet®.

A general-purpose high-speed bus 125 connects an I/O controller 126 toan expansion connector 124 for connecting an expansion board. A generalexample of the general-purpose high-speed bus is a PCI bus. According tothe embodiment, a control board for controlling the finisher 900 andC/Z-folding unit 800 is connected to the expansion connector 124. Thatis, the main controller 111 controls the finisher 900 and C/Z-foldingunit 800 via the expansion connector 124 and the expansion board (notshown).

The I/O controller 126 comprises asynchronous serial communicationcontrollers 127 of two channels for transmitting/receiving controlcommands to/from the CPUs of the reading section 200 and printingsection 300. An I/O bus 128 connects the asynchronous serialcommunication controllers 127 to a scanner I/F 140 and printer I/F 145.

A panel I/F 132 is connected to an LCD controller 131. The panel I/F 132comprises an I/F for display on the liquid crystal display of theoperation unit 150 and a key input I/F 130 for inputs from hard keys andtouch panel keys.

The operation unit 150 comprises a liquid crystal display, a touch paneladhered onto the liquid crystal display, and a plurality of hard keys. Asignal input from the touch panel or hard key is transferred to the CPU112 via the panel I/F 132. The liquid crystal display displays imagedata sent from the panel I/F 132. The liquid crystal display displaysthe functions of the apparatus, image data, and the like.

A real-time clock module 133 updates and saves a date and time managedinside the apparatus, and is backed up by a backup battery 134.

An E-IDE connector 161 connects an external storage device. A hard diskdrive 160 is connected to the connector 161, and performs an operationto store image data in a hard disk 162 or read out image data from thehard disk 162.

Connectors 142 and 147 are respectively connected to the reading section200 and printing section 300. The connector 142 includes an asynchronousserial I/F 143 and video I/F 144. The connector 147 includes anasynchronous serial I/F 148 and video I/F 149.

The scanner I/F 140 is connected to the reading section 200 via theconnector 142. The scanner I/F 140 is also connected to the maincontroller 111 via a scanning unit bus 141. The scanner I/F 140 has afunction of processing an image received from the reading section 200.The scanner I/F 140 also has a function of outputting, to the scanningunit bus 141, a control signal generated based on a video control signalsent from the reading section 200. The bus controller 113 controls datatransfer from the scanning unit bus 141 to the DRAM 116.

A printer I/F 145 is connected to the printing section 300 via theconnector 147. The printer I/F 145 is connected to the main controller111 via a printer bus 146. The printer I/F 145 has a function ofprocessing image data output from the main controller 111, andoutputting the processed image data to the printing section 300. Theprinter I/F 145 also has a function of outputting, to the printer bus146, a control signal generated based on a video control signal sentfrom the printing section 300.

The bus controller 113 controls transfer of raster image data rasterizedin the DRAM 116 to the printer. The raster image data is DMA-transferredto the printing section 300 via the printer bus 146 and video I/F 149.

<Operation Unit>

FIG. 4 is a view showing the outer appearance of the operation unit 150.The operation unit 150 comprises a key input section 402 and touch panel401. The key input section 402 can accept a user operation with hardkeys. The touch panel 401 serves as an example of a display unit capableof accepting a user operation with soft keys (display keys).

FIG. 5 is a view showing the arrangement of the key input section 402 indetail. The key input section 402 includes a power switch 501. Inresponse to a user operation to the power switch 501, the controller 110controls to switch between the standby mode (normal operation state) andthe sleep mode (state in which the program stops in wait for aninterrupt in preparation for network printing, facsimile transmission,or the like, suppressing power consumption). The controller 110 controlsto accept an operation to the power switch 501 while a main power switch(not shown) for supplying power to the whole system is ON.

A start key 503 is used to accept an instruction from the user to starta kind of job processing designated by the user, such as copying ortransmission of a target job. A stop key 502 is used to accept aninstruction from the user to interrupt the processing of an acceptedjob. A ten-key pad 506 is used to accept input of numerical values fromthe user during various settings. A clear key 507 is used to accept aninstruction from the user to clear various parameters input by him viathe ten-key pad 506 or the like. A reset key 504 is used to accept aninstruction from the user to invalidate various settings temporarilymade for a target job and restore the setting values to default values.A user mode key 505 is used to accept an instruction to shift a windowdisplayed on the touch panel 401 to a system setup window for each user.

The arrangement of a window displayed on the touch panel 401 will beexplained in more detail with reference to FIGS. 6 and 7. FIG. 6 shows awindow displayed on the touch panel 401 under the control of thecontroller 110 when the user selects (touches) a copy tab 601. When theuser selects a send tab 602, the controller 110 causes the touch panel401 to display the operation window of the data send function (e.g., FAXtransmission or E-mail sending). When the user selects a box tab 603,the controller 110 causes the touch panel 401 to display the operationwindow of the box function.

The box function uses a plurality of data storage boxes (to be referredto boxes hereinafter) which are virtually ensured in the hard disk 162.The plurality of boxes can be used separately by respective users. Forexample, the controller 110 frees a memory area of the hard disk 162that corresponds to a box selected from a plurality of boxes by the userby operating the touch panel 401. The controller 110 stores acquiredimage data in the free memory area. For example, in response to aninstruction input from the user via the operation unit 150, thecontroller 110 controls to store, in a box selected by the user,document data of a job accepted from the scanning unit 210. For example,text data of a job accepted from an external apparatus (e.g., the PC 191or 192) via the network controller 121 can also be stored in a boxdesignated by the user in accordance with a user instruction input viathe user interface of the external apparatus.

When the user inputs an instruction from the operation unit 150 tooutput job data stored in a box, the controller 110 reads out thedesignated data from a memory area of the hard disk 162 that correspondsto the designated box. Then, the controller 110 controls respectiveunits of the apparatus to output the data in a form designated by theuser. For example, the controller 110 controls the printing section 300to print out designated data, or controls the network controller 121 totransmit the data to an external apparatus.

When the user selects an option tab 604 on the touch panel 401 in FIG.6, the controller 110 causes the touch panel 401 to display a window forsetting optional functions such as scanning setting. When the userselects a system monitor key 617, the controller 110 causes the touchpanel 401 to display a display window for notifying the user of the MFPstate or status.

When the user selects a two-sided printing key 614, the controller 110causes the touch panel 401 to display a window which allows the user toset which of single-sided printing and two-sided printing is executed toprint a target job. In response to selection of a print paper selectionkey 615 by the user, the controller 110 causes the touch panel 401 todisplay a window which allows the user to set a feeding unit, sheetsize, and sheet type (medium type) necessary to print a target job. Inresponse to selection of a key 612, the controller 110 causes the touchpanel 401 to display a window which allows the user to select an imageprocessing mode (e.g., text mode or photo mode) suited to a documentimage. When the user operates a density setting key 611, the controller110 allows him to adjust the density of the output image of a print job.

The controller 110 causes the touch panel 401 to display, in a statusdisplay field 606, the operation state (e.g., standby, warm-up,printing, jam, or error) of an event which occurs. The controller 110causes the touch panel 401 to display information in a display field 607for prompting the user to confirm the copy ratio of a target job. Thecontroller 110 causes the touch panel 401 to display information in adisplay field 616 for prompting the user to confirm the sheet size andfeeding mode of a target job. The controller 110 causes the touch panel401 to display, in a display field 610, information for prompting theuser to confirm the number of copies of a target job, and informationfor prompting the user to confirm the sheet number during printing. Inthis manner, the controller 110 causes the touch panel 401 to displayvarious kinds of information to be announced to the user.

When the user selects an interrupt key 613, the controller 110 stops ajob during printing, and allows executing printing of a job designatedby the user. When the user selects a “special features” key 618, thecontroller 110 causes the touch panel 401 to display a window forspecial print settings such as various image processes and layoutsincluding two-page separation, cover/sheet insertion, image combination,image movement, and bookbinding.

FIG. 7 shows a window displayed on the touch panel 401 when the userselects a finishing key 609 in the window of FIG. 6. This window allowsthe user to set sheet processing such as stapling, folding, and offset.Keys 701 to 705 and 707 are used to designate different finishingmethods, and a selected key changes in color. If the user selects an OKkey 709 while the color of the selected key changes, the controller 110stores a setting corresponding to the key selected upon selecting the OKkey, and uses the setting in printing.

The collate (sort) key 701 is used to collate sheets of each copy in thepage order. The group key 702 is used to group sheets of each page. Thestaple key 703 is used to set stapling. The keys 701 to 703 can be setnot simultaneously but only exclusively. The Z-folding key 705 to setZ-folding, and the C-folding key 707 to set C-folding are alsoexclusive. For an impossible combination, like a combination of staplingand C-folding, when the staple key 703 is selected, the C-folding key707 is grayed out and cannot be selected. When the C-folding key 707 isselected first, the staple key 703 cannot be selected. In this way, whensettings cannot be combined, either corresponding key cannot beselected.

The offset key 704 is used to make a setting of offsetting the outputposition every designated number of copies. The controller 110 controlsthe finisher 900 to offset the output position every number of copiesthat is input to a copy count input field 708.

When the user selects a face-up/face-down designation key 710, thecontroller 110 causes the touch panel 401 to display a window whichallows the user to designate face-up delivery or face-down delivery.When the user selects a fold position adjustment key 711, the controller110 causes the touch panel 401 to display a window which allows the userto adjust the parameter of the fold position in Z-folding or C-folding.If the user selects a setting cancel button 706, the window in FIG. 7returns to one in FIG. 6 without reflecting contents set in the windowof FIG. 7. If the user selects the OK key 709, the window in FIG. 7returns to one in FIG. 6 after reflecting contents set in the window ofFIG. 7.

Various settings made by these key operations are stored as printsettings in the DRAM 116 in FIG. 3. At the start of printing byselecting the start key 503, these settings are read out from the DRAM116 and used for control.

FIG. 14 is a view showing a window displayed on the touch panel 401 whenthe user selects the “special features” key 618 in FIG. 6. This windowallows the user to set various image processes and layouts includingtwo-page separation, cover/sheet insertion, image combination, imagemovement, and bookbinding.

When the user selects a “mixed size originals” key 1401, the controller110 causes the touch panel 401 to display a window shown in FIG. 15 foran advanced setting for mixed size originals. In FIG. 15, the user canset whether the widths of set original sheets are equal or different.When the user selects a “same width” key 1501, the controller 110determines that a plurality of original sheets set on the documentfeeding unit 250 have the same width. When the user selects a “differentwidth” key 1502, the controller 110 determines that a plurality of setoriginal sheets have different widths. After the start of reading,original sheets are scanned based on the determination of the key. Whenthe user selects a setting cancel key 1503, the setting of mixed sizeoriginals is canceled, and the window in FIG. 15 returns to one in FIG.14. When the user selects an OK key 1504, the advanced setting of mixedsize originals is determined.

FIG. 16 shows a window displayed on the touch panel 401 when the userselects the paper selection key 615 in FIG. 6. This window displaysinformation on print sheets set in the feeding unit inside the mainbody. The controller 110 accepts, from the user via this window, thesetting of the type of print sheet used for output. When the userselects an auto paper selection key 1601, the controller 110 sets a mode(auto paper selection mode) in which the controller 110 automaticallyselects and outputs a print sheet in accordance with the read documentsize and operation mode.

Feeding stage keys 1602 to 1606 display the sizes, orientations, andremaining numbers of print sheets stored in corresponding feedingstages. When the user selects one of the feeding stage keys, thecontroller 110 sets feeding of sheets from a selected feeding stage. Amanual feed key 1607 displays the size and orientation of print sheetson a manual feed tray. When the user selects the manual feed key 1607,the controller 110 sets feeding of sheets from the manual feed tray. Ifno print sheet is loaded on the manual feed tray, the controller 110grays out the manual feed key 1607, as shown in FIG. 16, so as not toaccept selection of the key 1607. This also applies to the feeding stagekeys 1602, 1603, 1604, 1605, and 1606. If no print sheet is stored in afeeding stage, the controller 110 grays out a corresponding key so asnot to accept selection of the key.

A manual feed sheet change reservation key 1608 is used to set printsheets for use when no print sheet is loaded on the manual feed tray orwhen print sheets different from ones currently loaded on the manualfeed tray are to be used. If the user selects the key 1608, thecontroller 110 displays a window (not shown) for setting the size andtype of print sheet to be loaded on the manual feed tray. If printsheets set in this window are loaded on the manual feed tray, they arefed from the manual feed tray. If no set print sheet is loaded on themanual feed tray, the controller 110 displays the absence of printsheets without outputting any print sheet, and prompts the user to loadprint sheets on the manual feed tray. A main body display portion 1609illustrates the schematic appearance of the main body. When the userselects one of the feeding stage keys 1602 to 1606 and manual feed key1607, a corresponding feeding portion is highlighted so that the usercan easily recognize the set feeding stage. A paper type display portion1610 displays the type of print sheet set in a feeding unitcorresponding to a currently selected one of the feeding stage keys 1602to 1606 and manual feed key 1607. When the user selects a close key1611, the window in FIG. 16 returns to the copy setup window shown inFIG. 6.

<Description of Operation Sequence>

A setting sequence for Z-folding and C-folding will be described. FIGS.17A to 20B are views for explaining operation sequences when Z-foldingand C-folding are set.

An operation sequence for setting of Z-folding will be described. FIG.17A shows the first window of a copy setup window, similar to the windowshown in FIG. 6. If no setting has been made, the auto paper selectionmode is set first, and the display field 616 displays auto paperselection. If the user selects the finishing key 609, the controller 110displays a finishing setup window shown in FIG. 17B. FIG. 17B shows thesame window as that shown in FIG. 7. According to the operation sequencefor setting of Z-folding, if the user selects the Z-folding key 705 inthe window of FIG. 17B, the controller 110 highlights the Z-folding key705 and stores the setting of Z-folding. If the user selects the OK key709, the controller 110 displays a window shown in FIG. 17C.

The window in FIG. 17C is the same as that shown in FIG. 6. SinceZ-folding is set, the finishing key 609 is highlighted, and informationrepresenting that Z-folding is set is displayed above the finishing key609. Since the auto paper selection mode is kept selected, the displayfield 616 displays auto paper selection. If the user presses the startkey 503, the controller 110 starts a copy job in the Z-folding/autopaper selection mode. If the user selects the paper selection key 615 inFIG. 17C, the controller 110 displays a paper selection window in FIG.17D. FIG. 17D shows the same window as that shown in FIG. 16. In FIG.17D, since the auto paper selection mode is set, the auto paperselection key 1601 is highlighted. The user can set a feeding stagemanual setting mode instead of the auto paper selection mode byselecting the feeding stage key, manual feed key, or manual feed sheetchange reservation key in the window of FIG. 17D.

An operation sequence for setting of C-folding will be described. Thissequence starts from the window in FIG. 17A, similar to Z-folding. Ifthe user selects the finishing key 609 in the window of FIG. 17A, thecontroller 110 displays a finishing setup window in FIG. 17E. FIG. 17Ealso shows the same window as that shown in FIG. 7. If the user selectsthe C-folding key 707 in the window of FIG. 17E, the controller 110highlights the C-folding key 707 and stores the setting of C-folding. Ifthe user selects the OK key 709, the controller 110 shifts to thesetting of C-folding. At this time, the controller 110 cancels the autopaper selection mode, shifts to the feeding stage manual selection mode,and displays a window shown in FIG. 17F. FIG. 17F shows the same windowas that shown in FIG. 6. Since C-folding is set, the finishing key 609is highlighted, and information representing that C-folding is set isdisplayed above the finishing key 609. Since the feeding stage manualselection mode is selected, the display field 616 displays feeding stage1 which is a default setting.

If the user selects the start key 503, the controller 110 determineswhether print sheets set in feeding stage 1, in this case, A4-size printsheets can be C-folded. A4-size print sheets cannot be C-folded, so thecontroller 110 displays a window shown in FIG. 17G without starting acopy job. In FIG. 17G, the controller 110 displays the C-folding settingand C-foldable print sheet sizes in a dialog 1701, and prompts the userto set a feeding stage again. If the user selects an OK key 1702, thecontroller 110 displays the window in FIG. 17F again.

If the user selects the paper selection key 615 in accordance with theinstruction displayed in the dialog 1701, the controller 110 displays awindow shown in FIG. 17H. FIG. 17H shows the same window as the paperselection window shown in FIG. 16. The controller 110 determines thatC-folding is set. The controller 110 hatches the auto paper selectionkey 160 to inhibit the user from selecting it. The user does noterroneously select the auto paper selection key 1601, and selects anyfeeding stage. In FIG. 17H, if the user selects a proper feeding stage(feeding stage 4 storing A4R-size print sheets in FIG. 17H) displayed inthe dialog 1701, and selects the close key 1611, the controller 110displays the window in FIG. 17F again. If the user selects the start key503, the controller 110 determines whether print sheets in the manuallyset feeding stage are C-foldable. In this case, A4R-size print sheetsare C-foldable, and the controller 110 starts a copy job. In the abovedescription, the window shifts to one in FIG. 17F upon selecting the OKkey 1702 in FIG. 17G, but may also shift to one in FIG. 17H.

In this fashion, the operation unit 150 can function as a designationmeans for designating post-processing to be performed by apost-processing means. The controller 110 and operation unit 150 canfunction as a selection means for selecting the type of sheet on whichan image is to be formed by an image forming means. The imageinput/output system 100 operates in the auto paper selection modeserving as the first selection mode in which sheets of a typecorresponding to an image to be formed are automatically selected, andthe manual paper selection mode serving as the second selection mode inwhich sheets of a type designated by the user are selected. When theuser designates Z-folding serving as the first post-processing, thecontroller 110 controls the operation unit 150 to permit selection ofZ-folding in the first and second selection modes. When the userdesignates C-folding serving as the second post-processing, thecontroller 110 controls the operation unit 150 to inhibit selection ofC-folding in the first selection mode and permit selection of it in thesecond selection mode. In other words, the operation unit 150 functionsas an input means for inputting designation of the first or secondselection mode from the user. When the user designates C-folding servingas the second post-processing, the operation unit 150 does not acceptdesignation of the auto paper selection mode serving as the firstselection mode. The touch panel of the operation unit 150 functions as anotification means for, when the user designates C-folding serving asthe second post-processing, notifying the user of the types of sheetswhich can be designated in the manual paper selection mode serving asthe second selection mode.

<Control at C/Z-folding Setting>

Details of processing by the controller 110 will be explained withreference to the flowcharts of FIGS. 18, 19, and 20B.

In step S1802, the controller 110 causes the touch panel 401 to displaya default copy function setup window. In this case, the touch panel 401displays the window in FIG. 17A. The process proceeds to step S1803 toaccept the processing conditions of a print job that are set by theoperator on the touch panel 401. Every time the operator operates thetouch panel 401, the controller 110 determines in step S1804 whether theoperator has selected the start key 503. If the operator has notselected the start key 503, the process proceeds to step S1805 todetermine whether the operator has selected the finishing key 609. Ifthe operator has not selected the finishing key 609, the controller 110determines whether the operator has selected another key, and executesprocessing corresponding to the selected key. A description of settingsunrelated to folding setting will be omitted. Then, the process returnsto step S1803 and waits for the next operation by the operator.

If the controller 110 determines in step S1805 that the operator hasselected the finishing key, the process proceeds to step S1806 todisplay a finishing type setup window in FIG. 17B or 17C. If theoperator selects the Z-folding key 705, the controller 110 highlightsthe Z-folding key 705 as shown in FIG. 17B. If the operator selects theC-folding key 707, the controller 110 highlights the C-folding key 707as shown in FIG. 17C. Since Z-folding and C-folding cannot besimultaneously set, either the Z-folding key 705 or C-folding key 707 ishighlighted every time the operator selects either one. After that, theprocess proceeds to step S1807 to determine whether the operator hasselected the OK key 709.

If the controller 110 determines in step S1807 that the operator has notselected the OK key 709, the process returns to step S1807 again andwaits until he selects the OK key 709. If the controller 110 determinesin step S1807 that the operator has selected the OK key 709, the processproceeds to step S1808 to determine whether the operator has designatedZ-folding. If the operator has designated Z-folding, the processproceeds to step S1901 in the flowchart of FIG. 19. If the controller110 determines in step S1808 that the operator has not designatedZ-folding, the process proceeds to step S1809 to determine whether theoperator has designated C-folding. If the operator has designatedC-folding, the process proceeds to step S2001 in the flowchart of FIG.20A. If the controller 110 determines in step S1809 that the operatorhas not designated C-folding, the process returns to step S1802 todisplay the window in FIG. 17A.

If the controller 110 determines in step S1804 that the operator haspressed the start key 503, the process proceeds to step S1810. In thiscase, the operator has designated the start of a print job withoutsetting Z-folding or C-folding. In step S1810, the controller 110instructs the reading section 200 to start scanning. The reading section200 scans a document on the document feeding unit 250, and transmits adocument image signal to the controller 110. The controller 110 storesthe transmitted document image signal as print data for each page in thehard disk 162. At this time, the controller 110 also stores a documentsize detected by the document feeding unit 250 in the hard disk 162together with the document image signal. After the end of storing printdata, the process proceeds to step S1811 to start print processing. Instep S1811, the controller 110 reads out print data of one page from thehard disk 162 to the DRAM 116. Then, the process proceeds to step S1812to feed a print sheet from a feeding unit set by the operator and printthe print data in the DRAM 116.

In step S1813, the controller 110 determines whether the operator hasset finishing such as stapling other than folding. If the operator hasset another finishing, the controller 110 causes the finisher 900 instep S1814 to execute finishing, execution of which has been set. Then,the process proceeds to step S1815. If the controller 110 determines instep S1813 that execution of finishing is not set, the process proceedsto step S1815 without performing the process in step S1814. In stepS1815, the controller 110 determines whether all pages of the target jobhave been printed. If print data of an unprinted page exists in the harddisk 162, the process returns to step S1811 to print the next page. Ifthe controller 110 determines in step S1815 that all pages of the targetjob have been printed, the process proceeds to step S1816 to determinewhether another job to be processed exists in the hard disk 162. Ifanother job to be processed exists, the controller 110 sets the job as atarget job, returns to step S1811, and starts printing. If thecontroller 110 determines in step S1816 that no job to be processedexists, the process returns to step S1802 to display the window in FIG.17A, and waits for an operation by the operator.

Control by the controller 110 when determining in step S1808 that theoperator has designated Z-folding will be described with reference tothe flowchart of FIG. 19. The process proceeds to step S1901 in FIG. 19when the operator selects the Z-folding key 705 in the window of FIG.17B to highlight the Z-folding key 705, and further selects the OK key709. The controller 110 proceeds to step S1901 to display a defaultsetup window. In the displayed window, the finishing key 609 ishighlighted to represent that Z-folding is set, as shown in FIG. 17C.The process proceeds to step S1902 and waits until the operator selectsthe start key 503. If the operator selects the start key 503, theprocess proceeds to step S1903 to permit the start of printing thetarget job.

The process proceeds to step S1904 to perform the same process as thatof step S1810 described in FIG. 18 and store print data and a documentsize in the hard disk 162. The process proceeds to step S1905 todetermine a feeding unit selection mode. One of selection modesdetermined in step S1905 is the auto paper selection mode in which thecontroller 110 automatically selects a feeding unit used for the printoperation of a target job based on the document size of the target joband print media present in the feeding unit of the printing apparatus.The other selection mode is the feeding unit manual selection mode inwhich the controller 110 prompts the operator to explicitly designate afeeding unit. If the controller 110 determines in step S1905 that thefeeding unit manual selection mode is set, the process proceeds to stepS1906 to determine that print sheets are fed from a feeding stage set bythe operator. Then, the process proceeds to step S1910. If thecontroller 110 determines in step S1905 that the auto paper selectionmode is set, the process advances to step S1907 to determine a feedingunit.

In step S1907, the controller 110 acquires, from the hard disk 162, thedocument size of print data of one page of the target job. The processproceeds to step S1908 to acquire, for each feeding unit, the size ofprint sheets present in the feeding unit of the printing apparatus. Theprocess proceeds to step S1909 to determine a feeding stage forprocessing the current page on the basis of the document size and printsheet size. If there are print sheets whose size coincides with thedocument size, the controller 110 determines to use a feeding unitstoring these print sheets. If there are no print sheets whose sizecoincides with the document size, the controller 110 determines to useprint sheets which are larger than the document size and the smallestamong print sheets present in feeding units.

After determining a feeding unit for use, the process proceeds to stepS1910 to read out print data of one page from the hard disk 162 to theDRAM 116. The process proceeds to step S1911 to feed print sheets from afeeding stage set by the operator in step S1906 or a feeding stagedetermined in step S1909, and print the print data in the DRAM 116.Subsequently, the process proceeds to step S1912 to determine whetherthe size of a printed sheet can be Z-folded. For example, when thedocument size is A4 and print data is printed on an A4-size print sheet,the controller 110 determines that the print sheet cannot be Z-folded.The process proceeds to step S1913 to operate the C/Z-folding unit 820in the through mode without performing Z-folding. To the contrary, whenthe document size is A3 and print data is printed on an A3-size printsheet, the controller 110 determines that the print sheet can beZ-folded. The process proceeds to step S1914 to Z-fold the print sheetby the C/Z-folding unit 820. In this manner, in step S1912, thecontroller 110 determines not to Z-fold a print sheet in the portraitorientation (a print sheet fed along the long side) but to Z-fold aprint sheet in the landscape orientation (a print sheet fed along theshort side). When A4- and A3-size documents coexist, printing resultscan be aligned.

In step S1915, the controller 110 determines whether all pages of thetarget job have been printed. If the controller 110 determines in stepS1915 that a page to be processed exists in the hard disk 162, theprocess returns to step S1905 to determine a feeding stage for the nextpage and execute print processing. If the controller 110 determines instep S1915 that all pages have been printed, the process proceeds tostep S1816 in FIG. 18 to determine whether to perform print processingof another job or end the print processing.

Control by the controller 110 when determining in step S1809 that theoperator has designated C-folding will be described with reference tothe flowcharts of FIGS. 20A and 20B. The process proceeds to step S2001in FIG. 20A when the operator selects the C-folding key 707 in thewindow of FIG. 17E to highlight the C-folding key 707, and furtherselects the OK key 709. The controller 110 proceeds to step S2001 todetermine which of the auto paper selection mode and feeding unit manualselection mode is set. If the auto paper selection mode is set, theprocess proceeds to step S2002 to switch the auto paper selection modeto the feeding stage manual selection mode. Then, the process proceedsto step S2003. If the controller 110 determines in step S2001 that thefeeding stage manual selection mode is set, the process proceeds to stepS2003 without performing the process in step S2002. In step S2003, thecontroller 110 inhibits display of a setup window reflecting the autopaper selection mode. Then, the process proceeds to step S2004 todisplay the window of the feeding stage manual selection mode. Thedisplayed window is one in FIG. 17F. The finishing key 609 ishighlighted to represent C-folding. The feeding stage manual selectionmode and any feeding stage are displayed in the feeding unit displayfield 616. In this window, the process waits for an operation by theoperator. In step S2005, the controller 110 determines whether theoperator has pressed the start key 503.

If the operator has not pressed the start key 503, the process proceedsto step S2006 to determine whether the operator has selected the paperselection key 615. If the operator has not selected the paper selectionkey 615, the process returns to step S2005 and waits for an operation bythe operator. If the controller 110 determines in step S2006 that theoperator has selected the paper selection key 615, the process proceedsto step S2007 to display a paper selection window. The displayed windowis one in FIG. 17H. Since display of a setup window reflecting the autopaper selection mode is inhibited in step S2003, the auto paperselection key 1601 is hatched to inhibit the operator from selecting it.The process proceeds to step S2008 and waits for selection of the closekey 1611. After the operator selects the close key 1611, the controller110 sets, as a feeding stage used for the target job, a feeding stagecorresponding to a feeding stage key finally selected by the operator.Then, the process returns to step S2004.

If the controller 110 determines in step S2005 that the operator haspressed the start key 503, the process proceeds to step S2009. In stepS2009, the controller 110 acquires the print sheet size of the setfeeding unit and determines whether the print sheet can be C-folded. Thecontroller 110 determines that no print sheet can be C-folded when theprint sheet is in the portrait orientation (the print sheet is fed fromthe long side), and that the print sheet can be C-folded when the printsheet is in the landscape orientation (the print sheet is fed from theshort side). If the controller 110 determines in S2009 that no printsheet can be C-folded, the process proceeds to step S2010 to inhibit thestart of printing the target job. The process proceeds to step S2011 todisplay a message that C-folding of the print sheet is inhibited. Thedisplayed window is one in FIG. 17G. The dialog 1701 representsinhibition of C-folding the sheet, and C-foldable print sheet sizes. Instep S2012, the process waits until the operator selects the OK key1702. If the operator selects the OK key 1702, the process returns tostep S2004 to display the window in FIG. 17F.

If the controller 110 determines in step S2009 that the print sheet canbe C-folded, the process proceeds to step S2013 to permit the start ofprinting the target job. The process proceeds to step S2014 to acquire,from the hard disk 162, the document size of print data of one page ofthe target job. The process proceeds to step S2015 to determine to feeda print sheet from a feeding unit set by the operator. At this time, thecontroller 110 also acquires the print sheet size of the feeding stage.The process proceeds to step S2016 to read out print data of one pagefrom the hard disk 162 to the DRAM 116. In step S2017, the controller110 compares the document size acquired in step S2014 with the printsheet size acquired in step S2015, and determines whether theorientations of the document and print sheet are the same. As describedabove, the output print sheet is in the landscape orientation (the printsheet is fed from the short side). Thus, if the document image is in theportrait orientation (the document sheet is fed from the long side), theprocess proceeds to step S2018 to rotate the print data through 90° andalign the orientation of the document image with that of the outputprint sheet. By this processing, even if an A4-size document in theportrait orientation is scanned, the document image can be printedexactly on an A4-size output print sheet in the landscape orientation.

Regardless of whether print data has been rotated, the process proceedsto step S2019 to feed a print sheet from the feeding stage determined instep S2015 and print the print data in the DRAM 116. The processproceeds to step S2020 to C-fold the printed sheet by the C/Z-foldingunit 820. The process proceeds to step S2021 to determine whether allpages of the target job have been printed. If an unprinted page of thetarget job exists, the process returns to step S2014 to repeatdetermination of a feeding stage and print processing for the next page.If the controller 110 determines in step S2021 that all pages of thetarget job have been printed, the process proceeds to step S1816. Theprocess proceeds to step S1816 in FIG. 18 to determine whether toperform print processing of another job or end the print processing.

According to the embodiment, the setup window is controlled to permitsetting auto paper selection when C-folding is not designated, andinhibit setting auto paper selection when C-folding is designated. Thiscan prevent selection of a print medium unsuitable for C-folding. Byautomatically switching the selection mode to the manual paper selectionmode when auto paper selection is inhibited in accordance with thefolding style setting, the user can be guided to manually select asheet. Since re-setting of auto paper selection is inhibited when autopaper selection is inhibited in accordance with the folding stylesetting, it can be prevented to erroneously set auto paper selection bythe user, thereby improving user-friendliness.

More specifically, a permissible print sheet selection mode is switchedin accordance with the type of post-processing in an image formingsystem capable of executing a plurality of types of post-processes. Thiscan prevent selection of a print sheet unsuitable for a designated typeof post-processing, and improve user-friendliness. That is, a sheet canbe properly selected in accordance with the type of post-processing.

Other Embodiments

The embodiment of the present invention has been described in detail.The present invention may also be applied to a system including aplurality of devices or an apparatus formed by a single device.

The present invention is also achieved by supplying a program forimplementing the functions of the above-described embodiment to a systemor apparatus directly or from a remote place, and reading out andexecuting the supplied program codes by the system or apparatus. Hence,the program codes installed in a computer in order to implementfunctional processing of the present invention by the computer also fallwithin the technical scope of the present invention.

In this case, the program form is arbitrary such as an object code, aprogram executed by an interpreter, or script data supplied to an OS aslong as a program function is attained.

The recording medium for supplying the program includes a Floppy® disk,hard disk, optical disk, and magnetooptical disk. The recording mediumalso includes a MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatilememory card, ROM, and DVD (DVD-ROM and DVD-R).

As another use method, the program according to the present invention ora file including an automatic installing function can also be downloadedto a recording medium such as a hard disk by connecting a client PC toan Internet site via the browser of the client PC. It is also possibleto group program codes which form the program of the present inventioninto a plurality of files, and download the files from differenthomepages. That is, a WWW server which allows a plurality of users todownload the program for implementing functional processing of thepresent invention by a computer also falls within the scope of thepresent invention. The program according to the present invention mayalso be encrypted, stored in a storage medium such as a CD-ROM, anddistributed to a user. A user who satisfies predetermined conditions isprompted to download decryption key information from a homepage via theInternet. The user can execute the encrypted program using the keyinformation, and install the program in the computer.

The functions of the above-described embodiment can also be implementedwhen an OS or the like running on the computer performs some or all ofactual processes based on the instructions of the program.

The present invention may also include a case where the programaccording to the present invention is written in the memory of thefunction expansion unit of a PC, and the CPU of the function expansionunit or the like executes some or all of actual processes based on theprogram.

The present invention can provide a technique capable of properlyselecting a sheet in accordance with the type of post-processing.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2007-006421 filed on Jan. 15, 2007, which is hereby incorporated byreference herein in its entirety.

What is claimed is:
 1. A printing system comprising: a detecting unit configured to detect a size of an original; a determination unit configured to determine a sheet on which an image is to be printed, in accordance with the size of the original detected by the detecting unit; a printing unit configured to print the image on a sheet; a post-processing unit configured to perform C-folding for the sheet on which the printing unit has printed the image; and a control unit configured to restrict the printing unit to print the image on a sheet determined by the determination unit and to control the printing unit to print the image on a sheet selected by a user in a case where the C-folding is to be performed by the post-processing unit.
 2. The system according to claim 1, further comprising a display control unit configured to display, in a case where the C-folding is to be performed, a sheet for which the post-processing unit can perform the C-folding.
 3. The system according to claim 2, wherein the display control unit is further configured to display a key used by a user to instruct the determination unit to select a sheet, so as to indicate that the key cannot be selected.
 4. The system according to claim 1, wherein the sheet selected by the user is specified before or after it is designated to perform the C-folding.
 5. The system according to claim 1, wherein the post-processing unit is further configured to perform Z-folding for the sheet on which the printing unit has printed the image.
 6. The system according to claim 1, further comprising a reading unit configured to read an image of an original; wherein the detecting unit detects a size of the original read by the reading unit.
 7. A printing system comprising: a detecting unit configured to detect a size of an original; a determination unit configured to determine a sheet on which an image is to be printed, in accordance with the size of the original detected by the detecting unit; a printing unit configured to print the image on a sheet; a post-processing unit configured to perform a first type of folding and a second type of folding for the sheet on which the printing unit has printed the image; and a control unit configured to restrict the printing unit to print the image on a sheet determined by the determination unit and to control the printing unit to print the image on a sheet selected by a user in a case where the first type of folding is to be performed by the post-processing unit, and to control the printing unit to print the image on a sheet determined by the determination unit in a case where the second type of folding is to be performed.
 8. The system according to claim 7, further comprising a display control unit configured to display, in a case where the first type of folding is to be performed, a sheet for which the post-processing unit can perform the first type of folding.
 9. The system according to claim 7, wherein the sheet selected by the user is specified before or after it is designated to perform the first type of folding.
 10. The system according to claim 7, wherein the first type of folding is C-folding.
 11. The system according to claim 7, further comprising a reading unit configured to read an image of an original; wherein the detecting unit detects a size of the original read by the reading unit.
 12. The system according to claim 7, wherein the display control unit is further configured to display a key used by a user to instruct the determination unit to select a sheet, so as to indicate that the key cannot be selected.
 13. A printing apparatus capable of supplying a sheet on which an image is printed by a printing unit of the printing apparatus to a post-processing unit capable of performing C-folding, the printing apparatus comprising: a detecting unit configured to detect a size of an original; a determination unit configured to determine a sheet on which an image is to be printed, in accordance with the size of the original detected by the detecting unit; and a control unit configured to restrict the printing unit to print the image on a sheet determined by the determination unit and to control the printing unit to print the image on a sheet selected by a user in a case where the C-folding is to be performed by the post-processing unit.
 14. A method of controlling a printing system capable of supplying a sheet on which an image is printed by a printing unit of the printing system to a post-processing unit capable of performing C-folding, the method comprising: restricting a printing unit, in a case where the C-folding is to be performed, to print the image on a sheet determined in accordance with a size of an original; printing by the printing unit, in a case where the C-folding is to be performed, the image on a sheet selected by a user.
 15. A printing system comprising: a detecting unit configured to detect a size of an original; a determination unit configured to determine a sheet on which an image is to be printed, in accordance with the size of the original detected by the detecting unit; a printing unit configured to print the image on a sheet; a post-processing unit configured to perform C-folding for the sheet on which the printing unit has printed the image; and a control unit configured to inhibit the determination unit to determine a sheet on which an image to be printed and to control the printing unit to print the image on a sheet selected by a user in a case where the C-folding is to be performed by the post-processing unit.
 16. The system according to claim 15, further comprising a display control unit configured to display, in a case where the C-folding is to be performed, a sheet for which the post-processing unit can perform the C-folding.
 17. The system according to claim 15, wherein the sheet selected by the user is specified before or after it is designated to perform the C-folding.
 18. The system according to claim 15, wherein the post-processing unit is further configured to perform Z-folding for the sheet on which the printing unit has printed the image. 